django 后台显示has_scan

FFIB 5 lat temu
rodzic
commit
bbb2b9bed9
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      integral/admin.py

+ 2 - 2
integral/admin.py

@@ -14,8 +14,8 @@ class SaleclerkIntegralIncomeExpensesInfoAdmin(ReadOnlyModelAdmin, admin.ModelAd
14 14
 
15 15
 
16 16
 class SaleclerkSubmitLogInfoAdmin(AdvancedExportExcelModelAdmin, ReadOnlyModelAdmin, admin.ModelAdmin):
17
-    list_display = ('brand_pk', 'brand_name', 'model_pk', 'model_name', 'distributor_pk', 'distributor_name', 'clerk_id', 'clerk_name', 'code', 'remark', 'dupload', 'test_user', 'test_sn', 'ym', 'ymd', 'status', 'created_at', 'updated_at')
18
-    list_filter = ('brand_pk', 'dupload', 'test_user', 'test_sn', 'status')
17
+    list_display = ('brand_pk', 'brand_name', 'model_pk', 'model_name', 'distributor_pk', 'distributor_name', 'clerk_id', 'clerk_name', 'code', 'remark', 'dupload', 'test_user', 'test_sn', 'ym', 'ymd', 'status', 'has_scan', 'created_at', 'updated_at')
18
+    list_filter = ('brand_pk', 'dupload', 'test_user', 'test_sn','has_scan', 'status')
19 19
     search_fields = ('code', 'remark')
20 20
 
21 21